Skip to content

fix(config): handle unavailable config directories - #35632

Merged
jlongster merged 1 commit into
devfrom
james-worktree
Jul 7, 2026
Merged

fix(config): handle unavailable config directories#35632
jlongster merged 1 commit into
devfrom
james-worktree

Conversation

@jlongster

Copy link
Copy Markdown
Contributor

Summary

  • create a missing OPENCODE_CONFIG_DIR before writing support files
  • treat permission-denied safe reads like missing files
  • add regression coverage for missing and inaccessible config directories

Testing

  • packages/core: filesystem tests and typecheck
  • packages/opencode: config tests and typecheck
  • OPENCODE_CONFIG_DIR=/tmp/space bun run dev as james

The repository-wide pre-push typecheck was skipped because concurrent tsgo processes exhausted local memory; both affected package typechecks pass independently.

@jlongster
jlongster merged commit 254a481 into dev Jul 7, 2026
@jlongster
jlongster deleted the james-worktree branch July 7, 2026 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant